Xbasic
FTP_PUT_FILE_MODAL Function
Syntax
C FTP_PUT_FILE_MODAL(C address, C user, C password, C source_file, C destination_file)
Arguments
- addressCharacter
The FTP address of the transmission.
- userCharacter
The user's identity.
- passwordCharacter
The user's password.
- source_fileCharacter
The file to send.
- destination_fileCharacter
The file to save remotely.
Returns
- ResultCharacter
Returns "OK", "ERROR" or "Cancel", depending on the result of the file transfer.
Description
The FTP_PUT_FILE_MODAL() function sends a file in the foreground over a FTP connection. Calling script pauses till transfer is complete.
Example
FTP_PUT_FILE_MODAL("www.alphasoftware.com", "alpha5", "password", "c:\learningcenter.asp","/technical_documentation/learningcenter.asp")
Limitations
Desktop applications only.
See Also